package com.enzo.prms.job.manager;

import java.util.Date;
import java.util.Map;

import org.quartz.Job;

public interface JobManager {
	
	public void schedulerJob(String jobName, String time, Map<String, Object> data, Class<? extends Job> jobClazz);
	
	/**
	 * 
	 * @param jobName 任务名称
	 * @param time 任务时间
	 * @param data 任务数据
	 * @param jobClazz
	 */
	public void schedulerJob(String jobName, Date time, Map<String, Object> data, Class<? extends Job> jobClazz);
	
	public void modifyJobTime(String jobName,String time);
	
	public void modifyJobTime(String jobName,Date time);
	
	public void removeJob(String jobName);
}
